home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / nba102.zip / README < prev    next >
Text File  |  1992-10-03  |  18KB  |  351 lines

  1.    NetBIOS assist (NBA) is very dumb remote console for NetBIOS-based
  2. LANs.  It was tested with Artisoft Lantastic (versions 4.0 and 4.1) and
  3. Microsoft Lan Manager.  Probably, it will work with almost any NetBIOS
  4. network.  It lacks pretty appearance and fancy features, but it works!
  5. You should have the following files in this archive:
  6.  
  7.         README       - Very brief documentation notes for NBA.
  8.         NBARES.COM   - Resident part of NBA.
  9.         NBA.COM      - Helper part of NBA.
  10.         NBA.HIS      - Modification history
  11.         DONTREAD.ME  - Just do what it says - ignore it.
  12.  
  13.    Remember, NBA is not free!  Look at the description of NBA REGISTER
  14. command for the exact terms you could use it upon.  Although it was
  15. extensively tested, it is only version 1.02 and should contain a lot of
  16. various bugs.  (A lot was reported in version 1.01, at least) So, I will
  17. not accept any responsibility for any damage (direct of consequential)
  18. resulted from use of this program.  Use it on your own risk.
  19.  
  20.       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  21.  
  22.            I wish to thank the following people (aka registered users
  23.        of NBA ;) for the kind support of my humble work. This version
  24.        of NBA had a chance to appear only thanks to their contribution.
  25.  
  26.         Andrey Vokhmianin (Novosibirsk, Russia)
  27.         Mikel Lavrentyev (Moscow, Russia)
  28.         Donald Gallagher (Somewhere on Usenet ;)
  29.  
  30.            I wish to specially thank Detlef Schwenke, who had spent a
  31.        lot of his time in order to make this program able to live with
  32.        Microsoft Lan Manager.
  33.  
  34.       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  35.  
  36.                                  NBARES.COM
  37.  
  38.    Command:  'NBARES.COM [+][-# ][ -s] local_name [password]' loads
  39. resident part of NBA with NetBIOS name 'local_name' on adapter number #
  40. (assuming zero if none specified).  Usually, default adapter number will be
  41. Ok for most workstations.  NBARES should be installed on each machine on
  42. network you may wish to assist to.  If there is more then one NetBIOS
  43. adapter installed on machine, you will need to load separate copy of NBARES
  44. for each adapter (specifying unique adapter number for each copy of
  45. NBARES).
  46.  
  47.    Although you can use anything you like as local name for NBARES, you should
  48. keep in mind that all NetBIOS clients on network should have unique names.
  49. Therefore, name you specify on NBARES command line should be different from
  50. all names defined on network, including workstation names.  To keep things
  51. simple, you could like to give uppercase name to workstation's network
  52. redirector and it's lowercase version to NBARES.  Such approach works fine for
  53. me.  Note though what some implementations of NetBIOS could convert lowercase
  54. names specified on command line into upper case, thus potentially causing
  55. names conflicts.
  56.  
  57.    Optional password specified on command line gives you ability to protect
  58. sensitive stations from unauthorized eavesdropping.  You will need to
  59. specify password each time you access such station (i.e.  spy on it with
  60. NBA or reboot it).  -s (silent) command line option could help you to
  61. enhance a bit this rather rudimentary security mechanism.  This option will
  62. prevent station from showing up in list of assistable stations generated by
  63. NBA.
  64.  
  65.    NBARES is a stealthy program (you don't wish to advertise your ability
  66. to spy on workstations, right?) and will not print any messages at all if
  67. installed successfully.
  68.  
  69.    Resident part of NBARES usually occupies 3.6 Kbytes, but if you are
  70. running MS DOS 5.0 and dos is loaded high (i.e., dos=high specified in
  71. config.sys), you can use '+' as the very first symbol of NBARES command
  72. line.  It will instruct NBARES to load partially into High Memory Area (or
  73. HMA, first 64K of extended memory), thus occupying only 1.2K of conventional
  74. memory.
  75.  
  76.    NBARES could occupy much more then it's usual 3.6K if loaded within first
  77. 64Kbytes of conventional memory on 286 (or better) CPU.  This could happen
  78. only if you are either running DOS 5.0 (and can, therefore, load NBARES in
  79. HMA) or you are using upper memory manager (and can load NBARES high), so it
  80. should not be a big problem anyway.  Although I attempted to check HMA logic
  81. in NBARES extensively, running code from HMA is yet an advanced programming
  82. technique, which can conflict with some older programs.  Therefore, if you
  83. experience 'magic' troubles running NBARES in HMA, try load it into
  84. conventional dos memory.
  85.  
  86.    NBARES could sometimes issue error message 'Remote keyboard will not
  87. function properly - please upgrade BIOS' during installation.  This ordinary
  88. happens on PC with very old (pre-11/15/85) BIOSes.  If you are stuck with
  89. such PC and can't upgrade BIOS either, you can try to install keyboard cache
  90. capable of simulating more contemporary set of keyboard functions.  HyperKey
  91. from HyperWare will do it for you.  Probably, so will do many others.
  92.  
  93.    If you need to remove NBARES from memory, use 'nba remove' command,
  94. described later in this file.  Do not use T&SR management utilities to
  95. remover NBARES from memory - they don't know how to cope with NetBIOS
  96. programs and will crush your system.
  97.  
  98.    You will not be able to send keys to workstations running Windows,
  99. because Windows bypasses BIOS keyboard interface used by NBARES.  You still
  100. will be able to spy on Windows screen, but if more then one virtual machine
  101. is active in Enhanced mode (i.e., you had opened at least one DOS window),
  102. most probably you will see mixture of screens belonging to different virtual
  103. machines.
  104.  
  105.                                   NBA.COM
  106.  
  107.    General syntax of NBA command is:  'NBA [-adapter] command [parameters]'.
  108. You will need to specify adapter number only you wish to use NBA on adapter
  109. other then zero.  Note what adapter number is a local property of workstation
  110. you are running NBA upon.  For example, if you had installed NBARES on remote
  111. station's adapter 1 and your local NetBIOS adapter is configured for adapter
  112. number zero, you will need to start NBA on adapter 0, not 1!  If you have more
  113. then one NetBIOS adapter installed, NBA will work on one adapter at a time.
  114. You can type names of commands as an arbitrary mix of upper- and lower-case
  115. letters.
  116.  
  117.    Now let's look more closely at NBA commands.
  118.  
  119.                                  ? or LIST
  120.  
  121.    This command will list names of stations on which NBARES was installed.
  122. Note what this command could miss some stations, because it uses 'datagram'
  123. feature of NetBIOS to implement scanning for station names, and it does not
  124. guarantee delivery of messages to addressee.  Even if station does not
  125. appear in ?  output, but you do know it's name you still can assist to it.
  126. If you have relatively large network (more then 10 nodes), this command
  127. could take more then a minute to complete.
  128.  
  129.                          [ASSIST] RemoteName [-p] [-s]
  130.  
  131.    Assist to station 'RemoteName'.  Because this command is probably the
  132. most often used one, you can omit 'ASSIST' verb from command line if remote
  133. station name does not conflict with one of NBA commands.
  134.  
  135.    Your keystrokes (no mouse, sorry) will be sent over LAN to station you
  136. had specified, while remote screen will be copied onto local one.  You can
  137. in turn start NBA on that station to assist someone else, but if you will
  138. attempt to 'loop' back to your station (a bit meaningless occupation, isn't
  139. it?), connection will be immediately broken.
  140.  
  141.    To terminate assist session, you will need to press Alt-[Gray Del] (or
  142. Shift-Alt-[-], if you don't have 101-key board).  If you will need to pass
  143. this keystroke to remote (e.g., to terminate copy of NBA running on other
  144. station), you must 'quote' it by pressing Alt-[Gray Ins] (or Shift-Alt-[=]
  145. on 84-key boards).  To send Alt-[Gray Ins] code to remote, just press it
  146. twice.  NBA will not be able to send keystrokes to programs which interact
  147. with hardware directly, bypassing BIOS keyboard interface.  Most games and
  148. Microsoft Windows are an example.
  149.  
  150.    Note that remote keyboard on remote station will still function properly.
  151. Most probably, person working on remote will not understand what he was
  152. spied upon unless you will make it obvious by typing on his/her keyboard.
  153. This could make NBA dangerous if you are processing sensitive information on
  154. some of your workstations.  Obviously, you should refrain from installing
  155. NBARES on such stations.
  156.  
  157.    NBA will recognize all standard CGA, MDA, MCGA, EGA and VGA text and
  158. graphics video modes, plus some non-standard text mode dimensions, but will
  159. it be able to mirror them over LAN or not will depend on configuration of
  160. both remote and local station.  In general, NBA will always perform at the
  161. 'least common denominator' level.
  162.  
  163.    It will be able to display text data (video modes 0,1,2,3,7) on any
  164. combination of video cards/monitors (but it could be forced to clip image if
  165. it will not fit on local screen).  All CGA (4,5,6) and MCGA (11h, 13h) video
  166. modes will cause no problems if your hardware support them, but complete
  167. transmission of EGA/VGA video modes (dh, eh, 10h, 12h) require VGA (some
  168. EGAs, e.g., Genoa, will do, too) on remote end.  With EGA adapter installed
  169. in remote, NBA will be forced to display screen white-on-black, so as not to
  170. interfere with remote programs.  If NBA detects video mode which it can't
  171. translate, it clears local screen and displays message:  'Unsupported video
  172. mode XXh on remote'.  Keyboard will still function normally.
  173.  
  174.    By default, if VGA adapters are installed on both local and remote
  175. machines, NBA will transmit VGA palette as well as picture itself. On some
  176. VGA cards, this could cause significant display interference, so you could
  177. disable palette passing by specifying -p on command line.
  178.  
  179.    As a rule, NBA will update screen twice a second.  If you are typing on
  180. keyboard, it will attempt to update screen after each keystroke sent to
  181. remote.  If throughput of your network hardware does not permit such fast
  182. updates, NBA could act much slower.  For example, transmitting entire screen
  183. in video mode 12h (640x480, 16 colors) via arcnet requires 3 to 10 seconds,
  184. depending on load of network and remote station.
  185.  
  186.    In order to reduce network load a bit in graphic modes, by default nba
  187. will attempt to transmit only changed parts of graphics images.  Usually,
  188. this will make updates much faster, but if you have spectacularly fast
  189. network with very slow video card, you can disable these smart transmissions
  190. by specifying -s command line option.
  191.  
  192.    Under very heavy network load, NBA could sometimes terminate assist
  193. sessions with various error messages.  In such a case, you have no choice
  194. but to start NBA afresh.
  195.  
  196.    NBA memory requirements could vary significantly in assist mode.  64K
  197. bytes should be sufficient to display any text mode, but up to 256K could be
  198. necessary for high-resolution graphics.
  199.  
  200.                             REBOOT   RemoteName
  201.  
  202.    NBA will try to initiate cold reboot procedure on remote station.  It
  203. will attempt first to cause CPU reset and, if that fails, will jump directly
  204. to POST.  This procedure ignores possible presence of disk caching software
  205. or incomplete state of file operations on remote and thus can cause damage
  206. of data.  Therefore, you should make sure that reboot could be accomplished
  207. safely by termination all active applications and flushing disk caches on
  208. remote prior to using this command.  If NBA standard reboot procedure fails,
  209. you still could sometimes reboot workstation using 'exec' command.
  210.  
  211.                              REGISTER <keyfile
  212.  
  213.    NBA is not free software!  If you are continuing to use it after two weeks
  214. evaluation period, you will need to register it.  I will not be able to
  215. provide any technical support at all to unregistered users.  (And can't
  216. guarantee it to registered ones.  But I'll try.) Registration fee depends upon
  217. number of nodes on which NBARES was installed.  Different rates are applied to
  218. inhabitants of Russia and all others.  These rates could change in the future
  219. in order to reflect inflation.
  220.  
  221.    Number of nodes      Russia (*)      Outside
  222.     using NBARES                        of Russia
  223.  
  224.         2-  3           free (@)        free (@)
  225.         4- 10           100 rbls        10 US$
  226.        11- 25           200 rbls        20 US$
  227.        26 and above     call (#)        call (#)
  228.  
  229.    (*) Inhabitants of any other country that accepts russian currency
  230.        without limitations also could apply for rubles license.
  231.    (@) Gift of 50 rubles or 5 US$ will be appreciated.
  232.    (#) I do not expect to get such requests anyway ;-)
  233.  
  234.    In order to register, you will need to contact me by one of the addresses
  235. you can find at the end of this document and state number of nodes you need
  236. and name (up to 55 characters) to which NBA should be registered.  In return
  237. message, you will receive registration key and address you should send money
  238. to.  I trust you!
  239.  
  240.    If you don't mind (please say so in your message), I could ask you to do
  241. me a favor by subscribing me to this or that magazine or finding book I
  242. could need, provided that it will not cost you more then your registration
  243. fee is.  Considering my current whereabouts, you should not find such
  244. request outrageous.
  245.  
  246.    NBA uses secret-key Rivest-Shamir-Adleman (RSA) encryption with 508 bits
  247. key to protect it's registration string.  RSA implementation it uses is
  248. based upon PGP 1.0 source code, which is (c) 1990 by Philip Zimmermann.  I
  249. wish to express my gratitude to him for the kind permission to use it.
  250.  
  251.    NBA also checks integrity of some parts of it's code and data at run
  252. time, refusing to work if tampered with.  Of course, it is possible to hack
  253. it, but does it worth guilty conscience?  Note what you can circumvent
  254. 'license agreement violated' message (which will appear if you have more
  255. then 3 stations with nbares installed on network) by starting nbares in
  256. silent mode. Still, it will not make you a rightful owner...
  257.  
  258.    You can specify most commonly used NBA options with NBA_SWITCHES
  259. environment variable. Value, assigned to it, should be in the following
  260. format:
  261.  
  262.     [options] [$] [options]
  263.  
  264.    Actual command line passed to nba will be inserted at the place of dollar
  265. sign (at the end of string, if $ is not present), and the resulted string
  266. will be considered to be NBA command.  Thus, saying
  267.  
  268. SET NBA_SWITCHES=-1 $ -P
  269. NBA SERVER
  270.  
  271.    is equivalent to
  272.  
  273. NBA -1 SERVER -P,
  274.  
  275.    but will save you a few keystrokes if nba_switches variable was set in
  276. autoexec.bat
  277.  
  278.  
  279.    Most probably, you will never need four remaining NBA commands.  Still,
  280. for the sake of completeness, they are here.
  281.  
  282.                     PEEK RemoteName file address length
  283.  
  284.    NBA will copy contents of (part of) remote machine RAM to the local file.
  285. You can specify address either as segment:offset pair or hexadecimal linear
  286. address.  Length should be specified in hex, too and can exceed 64K.  This
  287. command will not be able to peek content of extended or expanded memory, but
  288. you do can to get any content of any memory location addressable in real
  289. mode (including HMA, if NBARES was started with '+' modifier).  E.g.,
  290. command 'peek allram 0 10FFF0' will copy _all_ conventional memory of remote
  291. machine, creating file 1114096 bytes in size.
  292.  
  293.    Note what NBA transmits memory in relatively small chunks, so as not to
  294. interfere with normal operations of remote station.  Therefore, parts of
  295. resulting file will correspond to different moments of remote machine
  296. operation and so could be in inconsistent state.
  297.  
  298.                         POKE RemoteName file address
  299.  
  300.    This is essentially a reverse of previous command.  It will copy content
  301. of local file into (specified location of) RAM on remote workstation.  You
  302. should be _very_ careful with poke command - improper modification of remote
  303. machine RAM most probably will cause system crash and loss of data.
  304.  
  305.    Note that NBA transmits memory in small chunk when performing poke
  306. command (even smaller then with peek command) and any amount of time can
  307. pass between filling two consecutive bytes in memory.  You can't expect what
  308. data will be passed as a whole!
  309.  
  310.                      EXEC RemoteName file [return_file]
  311.  
  312.    This command will copy contents of small (up to 134 bytes now, but this
  313. could change in future releases) file to remote machine and then pass
  314. control to program contained in it.  Program should be self-based (it could
  315. be loaded at any offset at all) and should return with retf command.  It
  316. could modify all CPU registers except stack pointer (SS:SP).  If you will
  317. specify second file name to this command, content of program memory at the
  318. end of execution will be copied to this file.
  319.  
  320.                              REMOVE RemoteName
  321.  
  322.    This command will remove nbares on machine 'RemoteName', if it is
  323. possible.  If you had loaded nbares high with upper memory management
  324. utility (such as Quarterdeck's loadhi), nba will not be able to remove it.
  325. Also, if you had loaded nbares in HMA (command switch +), HMA space
  326. previously occupied by it will NOT be returned to use.
  327.  
  328.  
  329.                              HOW TO CONTACT ME
  330.  
  331.    You can contact me by e-mail as:
  332.  
  333.         FIDO:           2:5000/19 (FIDO netmail from zones others than 2
  334.                                    most probably will not reach me!)
  335.  
  336.         Internet:       ps@comcen.nsk.su (if that fails with 'domain unknown'
  337.                         error message, try ps@comcen.nsk.su%ussr.eu.net)
  338.  
  339.    I will gratefully accept all notes and suggestions concerning NBA, but
  340. can't guarantee to answer you.  Still, I promise at least to confirm
  341. reception of requests from registered users even if I can't produce complete
  342. answer at the time being.  So, if you had not received answer say, in two
  343. weeks, you can safely assume that your message (or my answer) got lost in
  344. transit.  This November, I will be in process of changing my location, so
  345. don't grow alarmed if you are not answered promptly!
  346.  
  347.    Take care!
  348.  
  349. Serge Pachkovsky,
  350. Novosibirsk, Russia                                     October 3, 1992
  351.